<template>
  <div style="height: 100%">
    <welcom v-if="nextitem" :nextitem="nextitem" :addnext="addnext" />
    <div v-else>
      <one/>
      <router-view></router-view>
      <div style="text-align: center;padding-bottom: 15px"><el-link href="http://beian.miit.gov.cn/" target="_blank">粤ICP备2021085110号-1</el-link></div>
    </div>

  </div>
</template>

<script>
  import welcom from './components/Welcom'
  import one from './components/tabbar/one'
  export default {
    components: {
      one,welcom
    },
    data(){
      return{
        nextitem: true
      }
    },
    methods: {
      addnext() {
        this.nextitem = false
      }
    }
  }
</script>

<style scoped>
  .icon {
    width: 1em;
    height: 1em;
    fill: currentColor;
    overflow: hidden;
  }
</style>
